package com.yys.gulimall.product.feign;/*
 * @author zq
 */

import com.yys.common.to.SkuReductionTo;
import com.yys.common.to.SpuBoundTo;
import com.yys.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("gulimall-coupon")
@Service
public interface CouponFeignService {

    @PostMapping("coupon/spubounds/save")
    R saveSpuBounds(@RequestBody SpuBoundTo spuBoundTo);

    @PostMapping("coupon/skufullreduction/saveinfo")
    R saveSkuRedction(SkuReductionTo skuReductionTo);
}
